package com.example.a040728.myapplication;

import android.content.Intent;

import com.example.a040728.myapplication.strict.base.BaseActivity;
import com.example.a040728.myapplication.ui.FullscreenActivity;

public class LauncherActivity extends BaseActivity {

    @Override
    protected int getContentView() {
        return R.layout.app_start;
    }

    @Override
    protected void initWidget() {
        super.initWidget();
        findViewById(R.id.app_start_view).postDelayed(new Runnable() {
            @Override
            public void run() {
                redirectTo();
            }
        }, 800);

    }

    private void redirectTo() {
        Intent intent = new Intent();
        intent.setClass(this, FullscreenActivity.class);
        startActivity(intent);
        finish();
    }
}
